import request from '@/utils/request'

// 查询上会申请列表
export function listMtMeeting(query) {
  return request({
    url: '/meeting/mtMeeting/list',
    method: 'get',
    params: query
  })
}

// 查询上会申请详细
export function getMtMeeting(id) {
  return request({
    url: '/meeting/mtMeeting/' + id,
    method: 'get'
  })
}

// 查询上会申请详细
export function checkMtMeeting(id) {
  return request({
    url: '/meeting/mtMeeting/check/' + id,
    method: 'get'
  })
}

// 保存上会申请
export function saveMtMeeting(data) {
  return request({
    url: '/meeting/mtMeeting/save',
    method: 'post',
    data: data
  })
}

// 删除上会申请
export function delMtMeeting(id) {
  return request({
    url: '/meeting/mtMeeting/' + id,
    method: 'delete'
  })
}

// 导出上会申请
export function exportMtMeeting(query) {
  return request({
    url: '/meeting/mtMeeting/export',
    method: 'get',
    params: query
  })
}
